L1 loss
A loss function that calculates the absolute value of the difference between actual label values and the values that a model predicts. L1 loss is less sensitive to outliers than L2 loss.1
where:
is the number of examples. is the actual value of the label. is the value that the model predicts for .